<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,target-densitydpi=device-dpi,user-scalable=no" />
    <title></title>
    
    
    <script src="../../js/mui.min.js"></script>
    <script type="text/javascript" src="../../iconfont/iconfont.js" ></script>
    <script type="text/javascript" src="../../js/jquery-3.1.1.min.js" ></script>
    <script src="../../js/base.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../js/plug/artTemplet/template-web.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../js/plug/layer/layer.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="../../css/index.css" />
    <link href="../../css/mui.css" rel="stylesheet"/>
 
    
    <script src="../../js/plug/webuploader/webuploader.html5only.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="../../js/plug/webuploader/webuploader.css"/>
    <link rel="stylesheet" href="../../css/user/user.css" />
    <script type="text/javascript" src="../../js/jquery-labelauty.js" ></script>
    <link rel="stylesheet" href="../../css/user/jquery-labelauty.css" />
    <style type="text/css">
    	.editTask{bottom: 0;display: block;width: 100%;font-size: 20px;text-align: center;   background: #1C7AB5;line-height: 40px;color: #fff;}
    	.fileUp{ width: 98px;height: 41px;position: relative;display: inline-block;padding: 10px 15px;text-align: center;border-radius: 3px;color: #333;background-color: #fff;top: -15px; margin-left: 20px;}
    	#filePicker{display: inline-block;}
    	.uploader-list,.filebtns{position: relative;padding: 10px;}
    	.file-item{display: inline-block;margin-right: 10px;position: relative;}
    </style>
    <script type="text/javascript" charset="utf-8">
      	mui.init();
      	document.addEventListener('plusready', function() {
			plus.navigator.setStatusBarBackground("#2B7DC4");
			plus.navigator.setStatusBarStyle("light");
		}, false);
    </script>
</head>
<body>
	<header class="mui-bar mui-bar-nav" style="position: fixed;">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>	
		<a class="mui-pull-right save">保存</a>
	</header>
	<div class="mui-content">
		<!--动态渲染-->
		<div class="detail">
		    
		</div>
		<div class="do">
		    
		</div>
		<div class="done">
		    
		</div>
		
	</div>
</body>
    <!--前端模版-->
    <script type="text/html" id="tpl-taskDetail">
        <div class="taskDesc">
            <p class="tdName">任务名称</p>
            <span class="tdInfo">{{v.task_name}}</span>
        </div>
        <div class="taskDesc">
            <p class="tdName">审核部门</p>
            <span class="tdInfo">{{v.organization_name}}</span>
        </div>
        <div class="taskDesc">
            <p class="tdName">具体方法</p>
            <span class="tdInfo">{{v.task_work_method}}</span>
        </div>
        <div class="taskDesc">
            <p class="tdName">分值</p>
            <span class="tdInfo">{{v.task_score}}</span>
        </div>
        <div class="taskDesc">
            <p class="tdName">完成度</p>
            <span class="tdInfo">{{v.finish_status}}</span>
        </div>
        <div class="taskDesc">
            <p class="tdName">备注</p>
            <span class="tdInfo">{{v.task_remark ?v.task_remark :'无' }}</span>
        </div>
    </script>
    <script type="text/html" id="tpl-taskDo">
        <p class="twTitle">| 提交任务</p>
        <div class="taskDesc">
            <p class="tdName">完成步骤</p>
            <p class="bzBox">
                <ul class="dowebok">
                    <% for(var i = 0; i < v.task_step; i++){ %>
                        <li><input type="checkbox" value="<%= i+1 %>" name="task_step" data-labelauty="步骤<%= i+1 %>"></li>
                    <% } %>
                </ul>
            </p>
        </div>
        <div class="taskDesc">
            <p class="tdName">反馈描述</p>
            <textarea class="memo"></textarea>
        </div>
        <div id="fileList" class="uploader-list"></div>
        <div class="filebtns"> 
            <div id="filePicker">选择图片</div>
            <!--<div class="fileUp">上传图片</div>-->
        </div>
       
        <!--<span class="uploadFiles" id="mainadd">
                            点此上传附件
        </span> -->
    </script>
    <script type="text/html" id="tpl-taskDone">
        <p class="twTitle">| 已提交任务</p>
        <div class="taskDesc">
            <p class="doneBox">
                <ul class="donoeList mui-table-view">
                    {{each curData v k}}
                    {{if v.check_status=="WAIT"}}
                    <li class="mui-table-view-cell popuptask" data-stepnum="{{v.step}}" data-id = "{{v.guid}}">
                        <a class="mui-navigate-right" >{{v.finish_des|cutstring 8}}</a>
                    </li>
                    {{else}}
                    <li class="mui-table-view-cell popuptask" data-stepnum="{{v.step}}" data-id = "{{v.guid}}">{{v.finish_des|cutstring 8}}</li>
                    {{/if}}
                    {{/each}}
                </ul>
            </p>
        </div>
    </script>
    <!--前端模版end-->
</html>
<script src="taskInfo.js" type="text/javascript" charset="utf-8"></script>
 <script>
	$(function(){
		
	});
</script>